package ystp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ystp.model.Ysuser;
import ystp.model.YsuserExample;

public interface YsuserMapper {

    List<Map<String, Object>> findRenyuanByisvalid(@Param("username") String mmUsername, @Param("startindex") int mmStartIndex, @Param("pagesize") int mmPageSize);

    Object getCountByisvalid(@Param("username") String mmUsername);

    int countByExample(YsuserExample example);

    int deleteByExample(YsuserExample example);

    int deleteByPrimaryKey(String userid);

    int insert(Ysuser record);

    int insertSelective(Ysuser record);

    List<Ysuser> selectByExample(YsuserExample example);

    Ysuser selectByPrimaryKey(String userid);

    int updateByExampleSelective(@Param("record") Ysuser record, @Param("example") YsuserExample example);

    int updateByExample(@Param("record") Ysuser record, @Param("example") YsuserExample example);

    int updateByPrimaryKeySelective(Ysuser record);

    int updateByPrimaryKey(Ysuser record);
}